<template>
  <van-cell>
  <van-cell 
   :key="id" 
   :title="name" 
   :label="authName +' - '+ name"
   center 
    >
    <template #right-icon>
      <van-icon name="play-circle-o" size="0.6rem" @click="playFn"/>
  </template>
</van-cell>
</van-cell>

</template>

<script>
export default {
props:{
    id:Number,
    name:String,
    authName:String
},
methods:{
    playFn(){
        this.$router.push({
            path:'/play',
            query:{
                id:this.id
            }
        })
        console.log(this.id);
    }
}
}
</script>

<style>

</style>